<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddQuotaToAdminBankIcons extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('admin_bank_icons', function (Blueprint $table) {
            //
            $table->integer('single_limit')->comment('单笔限额');
            $table->integer('day_limit')->comment('单日限额');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('admin_bank_icons', function (Blueprint $table) {
            //
            $table->dropColumn(['single_limit','day_limit']);
        });
    }
}
